Skip to content

[BugFix] Fix failing compiled storage access#3547

Merged
vmoens merged 2 commits intomainfrom
fix-ci-failures
Mar 5, 2026
Merged

[BugFix] Fix failing compiled storage access#3547
vmoens merged 2 commits intomainfrom
fix-ci-failures

Conversation

@vmoens
Copy link
Collaborator

@vmoens vmoens commented Mar 5, 2026

No description provided.

@pytorch-bot
Copy link

pytorch-bot bot commented Mar 5, 2026

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/rl/3547

Note: Links to docs will display an error until the docs builds have been completed.

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 5, 2026
Replace self.__dict__.get("attr", default) with getattr(self, "attr", default)
in property getters/setters for _len, _total_shape, _cursor, and _write_count.

PyTorch PR #174941 ("Consolidate __dict__ handling across Dynamo codebase")
introduced a DunderDictVariable that doesn't propagate attribute mutations
made via setattr to subsequent __dict__.get() reads within the same compiled
frame. Using getattr avoids this by going through the normal attribute lookup
path that dynamo tracks correctly.

Made-with: Cursor
@vmoens vmoens merged commit 1ed0d1e into main Mar 5, 2026
5 checks passed
@vmoens vmoens deleted the fix-ci-failures branch March 5, 2026 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BugFix CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Record ReplayBuffers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant